package com.xinqing.test.modle;



import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author CHQ
 * @date 2019-09-03
 * @description 标签客群查询请求参数
 */

public class TagCountQueryRequest {
    /**
     * 产品名称
     */
    @NotNull(message = "产品名称不能为空")
    private Product product;

    /**
     * 筛选条件
     */
    private List<List<String>> groupFilter;

    /**
     * distinct去重
     */
    private String distinctBy;

    /**
     * SQL筛选条件(优先于 筛选条件)
     */
    private String sqlGroupFilter;

    private String requestId;

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getDistinctBy() {
        return distinctBy;
    }

    public void setDistinctBy(String distinctBy) {
        this.distinctBy = distinctBy;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public List<List<String>> getGroupFilter() {
        return groupFilter;
    }

    public void setGroupFilter(List<List<String>> groupFilter) {
        this.groupFilter = groupFilter;
    }

    public String getSqlGroupFilter() {
        return sqlGroupFilter;
    }

    public void setSqlGroupFilter(String sqlGroupFilter) {
        this.sqlGroupFilter = sqlGroupFilter;
    }

    @Override
    public String toString() {
        return "TagCountQueryRequest{" +
                "product=" + product +
                ", groupFilter=" + groupFilter +
                ", distinctBy='" + distinctBy + '\'' +
                ", sqlGroupFilter='" + sqlGroupFilter + '\'' +
                ", requestId='" + requestId + '\'' +
                '}';
    }
}
